package time.after.time.dao.account;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;
import org.springside.modules.orm.hibernate.HibernateDao;

import time.after.time.entity.account.Authority;

/**
 * 授权对象的泛型DAO.
 * 
 * @author calvin
 */
@Component
public class AuthorityDao extends HibernateDao<Authority, Long> {

	// Test 
	@Autowired
	public AuthorityDao(@Qualifier("sessionFactory_winter_db")SessionFactory sessionFactory)
	{
		super(sessionFactory, Authority.class);
		
	}
	
}
